package com.jia.train.seat.enums;

import java.math.BigDecimal;

public enum TrainTypeEnum {
    G("G", "高铁", new BigDecimal("1.2")),
    D("D", "动车", new BigDecimal("1")),
    K("K", "快速", new BigDecimal("0.8")),
    Z("Z", "快速", new BigDecimal("0.8"));

    private String code;
    private String desc;

    private BigDecimal priceRate;

    TrainTypeEnum(String code, String desc, BigDecimal priceRate) {
        this.code = code;
        this.desc = desc;
        this.priceRate = priceRate;
    }

}
